#pragma once
#include "istatu.h"
#include "CEdit.h"
#include "PhoneBookData.h"

class CPhoneBookStatu :
	public IStatu
{
public:
	CPhoneBookStatu(WCHAR * name);
	~CPhoneBookStatu(void);
	virtual bool EnterStatu();

	virtual bool ExitStatu();


	virtual bool EvaluateClickEvent(const WCHAR* elementName);
	void SetIndex(int index){m_index=index;}

    void SavePhoneNote();
	CEdit *m_pCellNum;
	CEdit *m_pTelNum;
	CEdit *m_pName;
	CEdit *m_pMark;

   // CPhoneBookData *m_pPhoneBook;
	int m_index;
};
